
package com.juhui.macao;
import com.google.gson.annotations.SerializedName;

public class BocWeResp {

    /**
     * code : 0
     * msg : ok
     * time : 1606783310
     * data : {"version":"2.0","service":"CreateWeChatAppTrade","returnCode":"000000","returnMessage":"SUCCESS","merchantId":"555007010100600","serverSign":"Fd/ce/+MCWx/bb1JLgS3L/V8UqoSAbnBVqMgH5TbxImNy5gfcavJEPY2wzsW3XeITYoq0yPKhYXTTq08PJdSc9e9uNAK3aZp5/Lueu9ahSbs2zbq1q/5ejF+2HUDwgzLyEoZIJ8IB5jQivA0OsS5/OKTQPgrmpaLA4xkFjWSXR5rW629cjmLjoxZWC6ac6mzNeOS8kjgOVhPOnlKq8VSjU2w+I47YAGxp8MW2aIHBDVcFndcZb+VhZ56BNdVD1nb26zdDb0nW25tz8Kol7fLehvSjurk53C6DBve6asRNZ6K4A2cXRNcznu/XW7peqr41jAvbttu8+FW/u/XkEN6WA==","terminalNo":"98032400","requestId":"2020120108415024923805","signType":"RSA2","logNo":"TESTCU2020120108415130250","amount":"1","result":"S","payOrderString":{"prepayId":"wx010841521129940a1c2293a091eb2f0000","appid":"wxb66afb2f26ddb509","payTimestamp":"1606783312","payNoncestr":"3sebh15d31vzxjvyu9d4qh11lfytzmns","paySignType":"MD5","paySign":"028673E5E2F042B14328B5F1C0E4582B","partnerId":"416961140","package":"Sign=WXPay"},"merchantMarketInformation":""}
     */

    private int code;
    private String msg;
    private String time;
    /**
     * version : 2.0
     * service : CreateWeChatAppTrade
     * returnCode : 000000
     * returnMessage : SUCCESS
     * merchantId : 555007010100600
     * serverSign : Fd/ce/+MCWx/bb1JLgS3L/V8UqoSAbnBVqMgH5TbxImNy5gfcavJEPY2wzsW3XeITYoq0yPKhYXTTq08PJdSc9e9uNAK3aZp5/Lueu9ahSbs2zbq1q/5ejF+2HUDwgzLyEoZIJ8IB5jQivA0OsS5/OKTQPgrmpaLA4xkFjWSXR5rW629cjmLjoxZWC6ac6mzNeOS8kjgOVhPOnlKq8VSjU2w+I47YAGxp8MW2aIHBDVcFndcZb+VhZ56BNdVD1nb26zdDb0nW25tz8Kol7fLehvSjurk53C6DBve6asRNZ6K4A2cXRNcznu/XW7peqr41jAvbttu8+FW/u/XkEN6WA==
     * terminalNo : 98032400
     * requestId : 2020120108415024923805
     * signType : RSA2
     * logNo : TESTCU2020120108415130250
     * amount : 1
     * result : S
     * payOrderString : {"prepayId":"wx010841521129940a1c2293a091eb2f0000","appid":"wxb66afb2f26ddb509","payTimestamp":"1606783312","payNoncestr":"3sebh15d31vzxjvyu9d4qh11lfytzmns","paySignType":"MD5","paySign":"028673E5E2F042B14328B5F1C0E4582B","partnerId":"416961140","package":"Sign=WXPay"}
     * merchantMarketInformation :
     */

    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private String version;
        private String service;
        private String returnCode;
        private String returnMessage;
        private String merchantId;
        private String serverSign;
        private String terminalNo;
        private String requestId;
        private String signType;
        private String logNo;
        private String amount;
        private String result;
        /**
         * prepayId : wx010841521129940a1c2293a091eb2f0000
         * appid : wxb66afb2f26ddb509
         * payTimestamp : 1606783312
         * payNoncestr : 3sebh15d31vzxjvyu9d4qh11lfytzmns
         * paySignType : MD5
         * paySign : 028673E5E2F042B14328B5F1C0E4582B
         * partnerId : 416961140
         * package : Sign=WXPay
         */

        private PayOrderStringBean payOrderString;
        private String merchantMarketInformation;

        public String getVersion() {
            return version;
        }

        public void setVersion(String version) {
            this.version = version;
        }

        public String getService() {
            return service;
        }

        public void setService(String service) {
            this.service = service;
        }

        public String getReturnCode() {
            return returnCode;
        }

        public void setReturnCode(String returnCode) {
            this.returnCode = returnCode;
        }

        public String getReturnMessage() {
            return returnMessage;
        }

        public void setReturnMessage(String returnMessage) {
            this.returnMessage = returnMessage;
        }

        public String getMerchantId() {
            return merchantId;
        }

        public void setMerchantId(String merchantId) {
            this.merchantId = merchantId;
        }

        public String getServerSign() {
            return serverSign;
        }

        public void setServerSign(String serverSign) {
            this.serverSign = serverSign;
        }

        public String getTerminalNo() {
            return terminalNo;
        }

        public void setTerminalNo(String terminalNo) {
            this.terminalNo = terminalNo;
        }

        public String getRequestId() {
            return requestId;
        }

        public void setRequestId(String requestId) {
            this.requestId = requestId;
        }

        public String getSignType() {
            return signType;
        }

        public void setSignType(String signType) {
            this.signType = signType;
        }

        public String getLogNo() {
            return logNo;
        }

        public void setLogNo(String logNo) {
            this.logNo = logNo;
        }

        public String getAmount() {
            return amount;
        }

        public void setAmount(String amount) {
            this.amount = amount;
        }

        public String getResult() {
            return result;
        }

        public void setResult(String result) {
            this.result = result;
        }

        public PayOrderStringBean getPayOrderString() {
            return payOrderString;
        }

        public void setPayOrderString(PayOrderStringBean payOrderString) {
            this.payOrderString = payOrderString;
        }

        public String getMerchantMarketInformation() {
            return merchantMarketInformation;
        }

        public void setMerchantMarketInformation(String merchantMarketInformation) {
            this.merchantMarketInformation = merchantMarketInformation;
        }

        public static class PayOrderStringBean {
            private String prepayId;
            private String appid;
            private String payTimestamp;
            private String payNoncestr;
            private String paySignType;
            private String paySign;
            private String partnerId;
            @SerializedName("package")
            private String packageX;

            public String getPrepayId() {
                return prepayId;
            }

            public void setPrepayId(String prepayId) {
                this.prepayId = prepayId;
            }

            public String getAppid() {
                return appid;
            }

            public void setAppid(String appid) {
                this.appid = appid;
            }

            public String getPayTimestamp() {
                return payTimestamp;
            }

            public void setPayTimestamp(String payTimestamp) {
                this.payTimestamp = payTimestamp;
            }

            public String getPayNoncestr() {
                return payNoncestr;
            }

            public void setPayNoncestr(String payNoncestr) {
                this.payNoncestr = payNoncestr;
            }

            public String getPaySignType() {
                return paySignType;
            }

            public void setPaySignType(String paySignType) {
                this.paySignType = paySignType;
            }

            public String getPaySign() {
                return paySign;
            }

            public void setPaySign(String paySign) {
                this.paySign = paySign;
            }

            public String getPartnerId() {
                return partnerId;
            }

            public void setPartnerId(String partnerId) {
                this.partnerId = partnerId;
            }

            public String getPackageX() {
                return packageX;
            }

            public void setPackageX(String packageX) {
                this.packageX = packageX;
            }
        }
    }
}
